scrolledwindow: Don't NULL the indicator widget in unmap
authorTimm Bäder <mail@baedert.org>
Sat, 19 Jan 2019 16:53:05 +0000 (17:53 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 29 Jan 2019 04:03:26 +0000 (05:03 +0100)
We still have the widget, so just keep the pointer to it.

gtk/gtkscrolledwindow.c

index acb4c6570065312ca83444c299d1a2a508ef6741..b431e07e9c9c9b84f1aaa9179f33ab0af727ddb5 100644 (file)
@@ -3606,7 +3606,6 @@ indicator_reset (Indicator *indicator)
       indicator->tick_id = 0;
     }
 
-  indicator->scrollbar = NULL;
   indicator->over = FALSE;
   gtk_progress_tracker_finish (&indicator->tracker);
   indicator->current_pos = indicator->source_pos = indicator->target_pos = 0;